@import "common";

body {
  min-width: 320px;
  margin: 0 auto;
  width: 15rem;
  line-height: 1.5;
  font-family: Arial, Helvetica;
  z-index: 0;
  background-color: #f39596;
  background-image: url("../images/search-bg.png");
  background-repeat: no-repeat;
  background-size: 100% 7.8rem;
  background-position: 0 0;
}

* {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}


/*导航栏模块*/
nav {
  display: flex;
  justify-content: space-between;
  width: 15rem;
  height: 1.32rem;
  padding: 0.2rem 0;
  position: absolute;
  top: 0;
  background-color: transparent;
  z-index: 995;


  .menu {
    width: 0.8rem;
    height: 0.7rem;
    margin: 0.3rem 0.8rem 0rem 0.3rem;
    background: url("../images/search-back.png") no-repeat;
    background-size: cover;


  }

  .search {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0.3rem 0.3rem 0.2rem 0.8rem;
    background: url("../images/search-search.png") no-repeat;
    background-size: cover;

  }

  .dao {
    flex: 1;
    display: flex;
    align-items: center;
    input{
      background-color: transparent;
      border-top-style: none;
      border-left-style: none;
      border-right-style: none;
      border-bottom: 2px solid white;
      color: white;
      font-size: 0.7rem;
      width: 100%;
      outline: none;
      padding-bottom: 0.1rem;
    }
    input::-webkit-input-placeholder{
      color:white;
      font-size:0.7rem;
      opacity: .5;
    }
    input::-moz-placeholder{   /* Mozilla Firefox 19+ */
      color:white;
      font-size:0.7rem;
      opacity: .5;
    }
    input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
      color:white;
      font-size:0.7rem;
      opacity: .5;
    }
    input:-ms-input-placeholder{  /* Internet Explorer 10-11 */
      color:white;
      font-size:0.7rem;
      opacity: .5;
    }

  }
}

.content{
  padding-top: 8rem;
  padding-bottom: 5rem;
  .music{
    width: 14rem;
    height: 8rem;

    margin: 0.4rem auto;
    .box{
      width: 100%;
      height: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(224,224,224,.8);
        .num{
          display: block;
          width: 6%;
          p{
            color: white;
            font-size: 1rem;
          }
        }
      .music-info{
        width: 70%;
        display: flex;
        align-items: center;
        color: white;
        font-size: 0.7rem;
        .music-name{
          font-size: .7rem;
          color: black;
          font-family: Helvetica;
          font-weight: 400;
          margin-right: 0.4rem;
        }
      }
      .music-play{
        width: 20%;
        display: flex;
        align-items: center;
        .music-bo{
          display: block;
          margin: 0 0.2rem;
          width: 1rem;
          height: 1rem;
          line-height: 1rem;
          i{
            width: 100%;
            height: 100%;
            color: #d3d3d3;
          }
        }
      }
    }
  }
.video{
  width: 12rem;
  margin: 2rem auto;
  .MV{
    width: 100%;

    .box {
      width: 100%;
      height: 2.4rem;
      display: flex;
      margin: 0.8rem auto;

      .box-left {
        width: 20%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        .story-img {
          width: 100%;
          height: 100%;
          img {
            width: 100%;
            height: 100%;
          }
        }
      }
      .box-right {
        padding-left: 0.4rem;
        width: 70%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        .top {
          height: 50%;
          width: 100%;
          p {
            font-weight: 600;
            font-size: .6rem;
            color: black;
          }
        }
        .bottom {
          width: 100%;
          height: 50%;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          div{
            margin-right: 0.2rem;
          }
          p{
            font-size: .4rem;
            color: white;
          }

        }

      }
    }
  }
}

  .story{
    .story-bd {
      width: 100%;

      .box {
        width: 14rem;
        height: 3rem;
        display: flex;
        margin: 0.4rem auto;

        .box-left {
          width: 30%;
          height: 3rem;
          display: flex;
          align-items: center;

          .story-img {
            width: 4.4rem;
            height: 2.8rem;

            img {
              width: 100%;
              height: 100%;
            }
          }
        }
        .box-right {
          padding-left: 0.4rem;
          width: 70%;
          height: 100%;
          display: flex;
          flex-direction: column;
          .top {
            height: 50%;
            width: 100%;
            p {
              font-weight: 600;
              font-size: .5rem;
            }
          }
          .bottom {
            width: 100%;
            height: 50%;
            display: flex;
            justify-content: flex-start;
            align-items: center;

            .story-user {
              display: flex;
              align-items: center;
              width: 50%;
              height: 100%;

              span {
                display: block;
                width: 1rem;
                height: 1rem;

                img {
                  width: 100%;
                  height: 100%;
                  vertical-align: top;
                }
              }

              p {
                margin-left: 0.4rem;
                font-size: .3rem;
                color: #363636;

              }
            }

            .story-reader-count {
              display: flex;
              align-items: center;
              width: 50%;
              height: 100%;
              justify-content: center;

              span {
                display: block;
                width: 1.2rem;
                height: 1rem;

                img{
                  width: 100%;
                  height: 100%;
                  vertical-align: top;

                }
              }

            }
          }

        }
      }
    }
  }
}





/*下方播放栏*/
.play {
  z-index: 2;
  position: fixed;
  bottom: 0;
  width: 15rem;
  height: 5.8rem;
  background-color: transparent;

  .bofang {
    margin-top: 1.4rem;
    width: 15rem;
    height: 2rem;
    z-index: 3;

    .btu {
      float: left;
      display: block;
      margin-left: 0.8rem;
      width: 2rem;
      height: 2rem;

      img {
        width: 100%;
        height: 100%;
      }
    }

    .info {

      display: flex;

      overflow: hidden;
      box-sizing: border-box;
      width: 6rem;
      padding-left: 0.6rem;
      height: 2rem;

      p {

      }

      .name {
        width: 60%;
        color: white;
        font-size: 0.75rem;
        margin-top: 1rem;
      }

      .author {
        width: 40%;
        color: white;
        font-size: 0.6rem;
        margin-top: 1.15rem;
      }
    }
  }

  .trangle {
    z-index: -1;
    position: absolute;
    width: 0;
    height: 0;
    border-top: 3.4rem solid transparent;
    border-right: 0px solid greenyellow;
    border-bottom: 0px solid deeppink;
    border-left: 15rem solid rgba(228, 106, 107, .9);
  }

  .player {
    display: flex;
    align-items: center;
    z-index: 3;
    width: 15rem;
    height: 2.4rem;
    background-color: rgba(228, 106, 107, .9);

    .btu1 {
      margin: 0.4rem 0 0.4rem 1rem;
      width: 30%;
      height: 1.1rem;
      display: flex;

      span {
        width: 50%;
        height: 1.1rem;

        .box {
          width: 1rem;
          height: 1rem;

          img {
            width: 100%;
            height: 100%;
          }
        }
      }
    }

    .btu2 {
      width: 20%;
      height: 1.1rem;

      .menu {
        width: 0.9rem;
        height: 0.9rem;

        img {
          width: 100%;
          height: 100%;
        }
      }
    }

    .btu3 {
      position: relative;
      width: 50%;
      height: 1.1rem;

      .bofangtiao {
        position: absolute;
        top: 50%;
        background: url("../images/jindutiao.png") no-repeat;
        background-size: cover;
        width: 6.4rem;
        height: 0.2rem;

      }
    }
  }
}